import request from "@/utils/request";
//分类列表
export const getproperty = (params) =>
  request({
    url: "/categories",
    params,
  });

// 获取页面列表 ?${params._limit}&${params._start}&${params.title_contains}
export const getPagesList = (params) =>
  request({
    url: `/pages`,
    params,
  });

//获取指定房产列表
export const getPropertys = (id) =>
 request({
  url:'/properties/' +id
 })
 //获取房产列表
 export const getPropertyList = (params) =>
 request({
  url:`/properties`,
  params
 })
